package org.gten.gegedexin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.gten.gegedexin.pojo.UserInfoPojo;

/**
 * @author Eric
 * @date 2023/6/10
 */
@Mapper
public interface UserInfoDao extends BaseMapper<UserInfoPojo> {
    @Select("SELECT * FROM user_info WHERE info_id = #{infoId}")
    UserInfoPojo getByInfoId(int infoId);
}
